import {getDicts} from "@/api/dict/data";

export const cacheActions = {
    getDicts: {
        type: Symbol('GET_DICTS'),
        handler: async function(type) {
            const {data} = await getDicts(type)
            return data
        }
    }
}
